cc.Class({
    extends: cc.Component,

    properties: {

    },
    onEditDidBegan: function (editbox, customEventData) {
        cc.log(customEventData);
    },
    onEditDidEnded: function (editbox, customEventData) {
        cc.log(customEventData);
        cc.log(editbox.string); //最终的值使用onEditDidEnded中的回调
    },
    onTextChanged: function (text, editbox, customEventData) {
        cc.log(customEventData + " " + text);
    },
    onEditingReturn: function (editbox, customEventData) {
        cc.log(customEventData);
        cc.log(editbox.string);
    },
    // onLoad () {},

    start() {

    },

    // update (dt) {},
});